package com.ycw.xiaoyezi.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ycw.bean.Users;
import com.ycw.dao.UsersMapper;
import com.ycw.xiaoyezi.service.UsersService;

@Service
public class UsersServiceImpl implements UsersService {

	@Autowired
	UsersMapper usersMapper;

	@Override
	public List<Users> getAllUsers() {

		return usersMapper.selectAll();
	}

}
